INSTrument...    Related Topics

This subsystem identifies and selects particular resources (SCPI: logical instruments) of the analyzer.  

 

Command tree: INSTrument

:NSELect

:PORT

:COUNt?

:SELect


INSTrument:NSELect <Ch>

Selects a channel <Ch> as the active channel.

<Ch>

Number of the channel to be activated. The channel must be created before using CONFigure:CHANnel<Ch>:STATe ON.

Range [def. unit]

1, 2, ... [–]

*RST value

1

 

SCPI, Command Types

Confirmed, command or query. If all channels have been deleted CONFigure:CHANnel<Ch>:STATe OFF the query returns 0.

 

Example:

CONF:CHAN2:STAT ON; INST:NSEL?

Create channel no. 2 and select it as the active channel. The query returns 2.

 


INSTrument:PORT:COUNt?

Returns the number of test ports of the analyzer.

Response

Number of ports (integer number).

Range [def. unit]

1, 2, 3 or 4, depending on the analyzer model.

*RST value

 

SCPI, Command Types

Device-specific, query only.

 

Example:

INP:PORT:COUN?

 


INSTrument[:SELect]
CHANNEL1 | CHANNEL2 | CHANNEL3 | CHANNEL4

Selects a channel <Ch> as active channel.

To select a channel number > 4 use the generalized command INSTrument:NSELect <Ch>.  

Parameters

Number of the channel to be activated. The channel must be created before using CONFigure:CHANnel<Ch>:STATe ON.

Range [def. unit]

CHANNEL1, CHANNEL2, CHANNEL3, CHANNEL4 [–]

*RST value

CHANNEL1

 

SCPI, Command Types

Confirmed, command or query. If all channels have been deleted (CONFigure:CHANnel<Ch>:STATe OFF) the query returns CHANNEL0.

 

Example:

CONF:CHAN2:STAT ON; INST CHANNEL2

Create channel no. 2 and select it as the active channel.